// by Xeno

private ["_killed","_killer","_killedfriendly"];
_killed = _this select 0;
_killer = _this select 1;
diag_log Format["(%1)[%2]: %3 killed by %4",diag_tickTime,"checkkill.sqf",_killed,_killer];


[] spawn x_playerspawn;

// Safety check to make sure we delete the player body.
waituntil {alive player};
sleep 2;
If (! isNull _killed) then {
	deleteVehicle _killed;
};
